package com.bosssoft.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bosssoft.entity.dto.FibAuthDTO;
import com.bosssoft.entity.po.FibAuthPO;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
 * @author Li kexi
 * Created on 2021/8/16.14:32
 */
public interface FibAuthService extends IService<FibAuthPO>{

    boolean addAuth(FibAuthDTO authDTO);

    boolean modifyAuth(FibAuthDTO authDTO);

    boolean banAuthById(Long authId, Integer status);

    boolean deleteAuth(Long authId);

    String getUrlById(Long id);

    int updateBatch(List<FibAuthPO> list);

    int updateBatchSelective(List<FibAuthPO> list);

    int batchInsert(List<FibAuthPO> list);

    int insertOrUpdate(FibAuthPO record);

    int insertOrUpdateSelective(FibAuthPO record);

}
